// import logo from './logo.svg';
// import './App.css';
import Test from "./components/test";
const flag = true
const obj = {
  name: "wahaha"
}
const Fn = function (flag) {
  if (flag) {
    return <h1>登录成功</h1>
  } else {
    return <h1>登录失败</h1>
  }
}

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <p>
          hello
          
        </p>
        <Test></Test>
        <h1>{flag?'true':"false"}</h1>
        <h1>{obj.name}</h1>
        <Fn></Fn>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;
